<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" >
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="static/css/bootstrap.css" type="text/css" rel="stylesheet">
    <link href="static/css/style.css" type="text/css" rel="stylesheet">

</head>
<body>
<div th:include="header :: header"></div>



<div></div>
<table class="t" cellspacing="0" cellpadding="0" width="98%" align="center">
    <tbody>
    <tr>
        <th class="h" style="WIDTH: 100%; HEIGHT: 18px"><span><b><a th:href="@{/index}">首页</a>&gt;&gt;<span th:text="${session.kind?.name}"></span></b>
					</span></th>
        <td class="h">

            <span th:if="${application.loginuser==null}">
                <img src="static/images/newtopics.gif" onclick="javascript:alert('请先登录！');">
                    </span>
            <span th:if="${application.loginuser!=null}">
                <img src="static/images/newtopics.gif" onclick="javascript:location.href='/bbs/tonewtitle'">
                </span>
        </td>
    </tr>

    </tbody>
</table>
<table style="WIDTH: 100%; BORDER-COLLAPSE: collapse" cellspacing="0" border="0">
    <tbody>
    <tr class="tr2" align="middle">
        <td style="HEIGHT: 23px" width="44%">文章</td>
        <td style="HEIGHT: 23px" width="18%">作者</td>
        <td style="HEIGHT: 23px" width="5%">回复</td>
        <td style="HEIGHT: 23px" width="18%">最后回复</td>
    </tr>



    <tr class="tr3 f_one" th:each="t:${titlePageInfo.list}">
        <td class="tal y-style">
            <h3>
                <a th:href="@{'/getRepliesByTid?titleid='+${t.id}}" th:text="${t.title}"></a>
            </h3>
        </td>
        <td class="tal y-style"><span class="f9"><span th:text="${t.user?.name}"></span>
						</span> <br> <span class="f9 green">[<span th:text="${t.uptime}"></span>]
						</span></td>
        <td class="tal f10 y-style"><span th:text="${t?.replyCount}"></span></td>
        <td class="tal y-style"><span class="f9">Boya</span>
            <br> <span class="f9 green">[<span>2018-01-02 17:13:00.0</span>]
						</span></td>
    </tr>



    </tbody>
</table>
<div style="padding-left: 600px">
<ul class="pagination">
    <li class="page-item"><a class="page-link" th:href="@{getTitlesBykid(kindid=${session.kind?.id},pageNo=${titlePageInfo.navigateFirstPage})}">首页</a></li>
    <li class="page-item"><a class="page-link" th:href="@{getTitlesBykid(kindid=${session.kind?.id},pageNo=${titlePageInfo.prePage})}">上一页</a></li>
    <li class="page-item"><a class="page-link" th:href="@{getTitlesBykid(kindid=${session.kind?.id},pageNo=${titlePageInfo.nextPage})}">下一页</a></li>
    <li class="page-item"><a class="page-link" th:href="@{getTitlesBykid(kindid=${session.kind?.id},pageNo=${titlePageInfo.pages})}">尾页</a></li>
</ul>
</div>

<div th:include="footer :: footer"></div>
</body>
</html>